package com.alibaba.basic.service;

import com.alibaba.basic.dto.PhoneRegisterDto;

import java.io.IOException;

public interface VerifyCodeService {

    String imageCode(String imageCodeKey) throws IOException;

    void smsCode(PhoneRegisterDto dto);

    void phoneRegister(PhoneRegisterDto dto);

    String sendEmailCode(String email);
}
